package com.am;

import com.am.builder.AMBuilder;
import com.am.persistent.AMMemoryPersistent;
import com.am.persistent.IAMPersistent;
import com.am.words.IWord;
import com.am.words.Word;

public class AMMain {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		IAMPersistent ps = new AMMemoryPersistent();
		AMBuilder amb = new AMBuilder(ps);
		String input = args[0];
		IWord w = new Word(input);
		amb.buildWithWord(w);
	}

}
